package com.yueqian.bookshop.bean;

/**
 * 针对Users的补丁类
 */
public class UsersVo extends Users{
    private String vcode;// 验证码，数据库不需要，控制器需要，所以可以将数据库不需要，控制器需要的属性放在Vo类中
    private String oldPassword;
    private String newPassword;
    public String getVcode() {
        return vcode;
    }

    public void setVcode(String vcode) {
        this.vcode = vcode;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    @Override
    public String toString() {
        return "UsersVo{" +
                "vcode='" + vcode + '\'' +
                ", oldPassword='" + oldPassword + '\'' +
                ", newPassword='" + newPassword + '\'' +
                '}';
    }
}
